package com.zhx.freedom.say.diary.dao;

import com.zhx.freedom.say.diary.model.Diary;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DiaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Diary record);

    int insertSelective(Diary record);

    Diary selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Diary record);

    int updateByPrimaryKeyWithBLOBs(Diary record);

    int updateByPrimaryKey(Diary record);
}